Skip to content

Conversation

@fern-api
Copy link
Contributor

@fern-api fern-api bot commented Jan 27, 2025

Upgrading from 0.35.2 to 0.36.4 - Changelog

    0.36.4
  • fix: Fix an issue where the go-v2 generator call prevented the go generator from succeeding in remote code generation environments.

  • 0.36.3

  • fix: Fix an issue where the version header specified by the user wasn't being used.

  • 0.36.2

  • fix: Fix cursor pagination stopping condition when the cursor types do not match (e.g. a *string cursor type with a string next cursor type).

  • 0.36.1

  • fix: Fix offset pagination method generation for non-integer offset parameters (e.g. float64).

  • 0.36.0

  • feat: Adds support for a few new configuration options, all of which are shown below:

      version: 0.36.0
      config:
        packageLayout: flat
        clientName: Acme
        clientConstructorName: New

    With this, the generated SDK will all be deposited at the root of the module, and the client can be constructed like so:

    import (
      "context"
      "fmt"
      "log"
      acme "github.com/acme/acme-go"
    )
    func main() {
      client := acme.New()
      response, err := client.GetUser(
        context.Background(),
        &acme.GetUserRequest{
          ID: "85307b0b-094b-41b5-b61d-347ca15e5da2",
        },
      )
      if err != nil {
        log.Fatal(err)
      }
      fmt.Println(response)
    } ```
    </li>
    </ul>
    </dd>
    </dl>

@fern-api fern-api bot force-pushed the fern/update/fern-go-sdk@api/go-sdk branch from 3f57e01 to 42b022b Compare January 27, 2025 00:05
@github-actions
Copy link
Contributor

@fern-api fern-api bot force-pushed the fern/update/fern-go-sdk@api/go-sdk branch from 42b022b to 580b9f6 Compare February 3, 2025 00:05
@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2025

@fern-api fern-api bot force-pushed the fern/update/fern-go-sdk@api/go-sdk branch from 580b9f6 to 3d82176 Compare February 10, 2025 00:06
@github-actions
Copy link
Contributor

@humford humford merged commit 1093d8e into main Feb 12, 2025
3 of 4 checks passed
@humford humford deleted the fern/update/fern-go-sdk@api/go-sdk branch February 12, 2025 01:53
skeptrunedev referenced this pull request in devflowinc/vapi-docs Mar 5, 2025
Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants